/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ObjectClass;

import java.util.ArrayList;

/**
 *
 * @author Jeppe
 */
public class Driver {

    private int phoneNo;
    private String fName;
    private String lName;

    public Driver(int phoneNo, String fName, String lName) {
        this.phoneNo = phoneNo;
        this.fName = fName;
        this.lName = lName;        
    }

    public int getPhoneNo() {
        return phoneNo;
    }

    public String getfName() {
        return fName;
    }

    public String getlName() {
        return lName;
    }

    @Override
    public String toString() {
        return fName + " " + lName + ", "+phoneNo ;
    }

}
